home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Samples / SampleCode / Unsupported Libraries / AttributeSet_Lib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-06  |  3.0 KB  |  119 lines  |  [TEXT/MPS ]

  1. /******************************************************************************
  2.  **                                                                             **
  3.  **     Module:        AttributeSet_Lib.h                                         **
  4.  **                                                                          **
  5.  **                                                                          **
  6.  **     Purpose:     Attribute typed access routines                              **
  7.  **                                                                          **
  8.  **                                                                          **
  9.  **                                                                          **
  10.  **     Copyright (C) 1992, 1993 Apple Computer, Inc.  All rights reserved.     **
  11.  **                                                                          **
  12.  **        Change Log:                                                             **
  13.  **                                                                             **
  14.  *****************************************************************************/
  15. #ifndef AttributeSet_Lib_h
  16. #define AttributeSet_Lib_h
  17.  
  18. #include "QD3DSet.h"
  19.  
  20. #if PRAGMA_ONCE
  21.     #pragma once
  22. #endif
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif    /* __cplusplus */
  27.  
  28. /******************************************************************************
  29.  **                                                                             **
  30.  **                            AttributeSet Typed routines                         **
  31.  **                                                                             **
  32.  *****************************************************************************/
  33.  
  34. TQ3Status AttributeSet_AddSurfaceUV(
  35.     TQ3AttributeSet            attributeSet,
  36.     const TQ3Param2D            *data);
  37.  
  38. TQ3Status AttributeSet_AddShadingUV(
  39.     TQ3AttributeSet            attributeSet,
  40.     const TQ3Param2D            *data);
  41.  
  42. TQ3Status AttributeSet_AddNormal(
  43.     TQ3AttributeSet            attributeSet,
  44.     const TQ3Vector3D        *data);
  45.  
  46. TQ3Status AttributeSet_AddAmbientCoefficient(
  47.     TQ3AttributeSet            attributeSet,
  48.     const float                *data);
  49.  
  50. TQ3Status AttributeSet_AddDiffuseColor(
  51.     TQ3AttributeSet            attributeSet,
  52.     const TQ3ColorRGB        *data);
  53.  
  54. TQ3Status AttributeSet_AddSpecularColor(
  55.     TQ3AttributeSet            attributeSet,
  56.     const TQ3ColorRGB        *data);
  57.  
  58. TQ3Status AttributeSet_AddSpecularControl(
  59.     TQ3AttributeSet            attributeSet,
  60.     const float                *data);
  61.  
  62. TQ3Status AttributeSet_AddTransparencyColor(
  63.     TQ3AttributeSet            attributeSet,
  64.     const TQ3ColorRGB        *data);
  65.  
  66. TQ3Status AttributeSet_AddSurfaceTangent(
  67.     TQ3AttributeSet            attributeSet,
  68.     const TQ3Tangent2D        *data);
  69.  
  70. TQ3Status AttributeSet_AddSurfaceShader(
  71.     TQ3AttributeSet                attributeSet,
  72.     TQ3SurfaceShaderObject        *surfaceShaderObject);
  73.  
  74. TQ3Status AttributeSet_GetSurfaceUV(
  75.     TQ3AttributeSet            attributeSet,
  76.     TQ3Param2D                *data);
  77.  
  78. TQ3Status AttributeSet_GetShadingUV(
  79.     TQ3AttributeSet            attributeSet,
  80.     TQ3Param2D                *data);
  81.  
  82. TQ3Status AttributeSet_GetNormal(
  83.     TQ3AttributeSet            attributeSet,
  84.     TQ3Vector3D                 *data);
  85.  
  86. TQ3Status AttributeSet_GetAmbientCoefficient(
  87.     TQ3AttributeSet            attributeSet,
  88.     float                    *data);
  89.  
  90. TQ3Status AttributeSet_GetDiffuseColor(
  91.     TQ3AttributeSet            attributeSet,
  92.     TQ3ColorRGB                *data);
  93.  
  94. TQ3Status AttributeSet_GetSpecularColor(
  95.     TQ3AttributeSet            attributeSet,
  96.     TQ3ColorRGB                *data);
  97.  
  98. TQ3Status AttributeSet_GetSpecularControl(
  99.     TQ3AttributeSet            attributeSet,
  100.     float                    *data);
  101.  
  102. TQ3Status AttributeSet_GetTransparencyColor(
  103.     TQ3AttributeSet            attributeSet,
  104.     TQ3ColorRGB                *data);
  105.  
  106. TQ3Status AttributeSet_GetSurfaceTangent(
  107.     TQ3AttributeSet            attributeSet,
  108.     TQ3Tangent2D                *data);
  109.  
  110. TQ3Status AttributeSet_GetSurfaceShader(
  111.     TQ3AttributeSet            attributeSet,
  112.     TQ3SurfaceShaderObject    *data);
  113.  
  114. #ifdef __cplusplus
  115. }
  116. #endif    /* __cplusplus */
  117.  
  118. #endif  /*  AttributeSet_Lib_h  */
  119.